﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Yipusoft.Account.BLL;
using Yipusoft.Account.Model;
using Yipusoft.SecurityEvaluate;
using System.Data;

public partial class Police_SecurityEvaluate_SquadronCaption : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            init();
        }
    }

    void init()
    {
        BindDate();
        BindData();
        SetDivNoDisplay();
        ParentDiv.FindControl(RadioButtonList1.SelectedValue).Visible = true;
    }

    #region 时间梆定
    void BindDate()
    {
        BindYear();
        BindMonth();
        BindDay();
    }
    void BindYear()
    {
        for (int i = 2009; i <= 2050; i++)
        {
            ddlYear.Items.Add(new ListItem(i + "年", i.ToString()));
        }
        ddlYear.SelectedValue = DateTime.Now.Year.ToString();
    }

    void BindMonth()
    {
        for (int i = 1; i <= 12; i++)
        {
            ddlMonth.Items.Add(new ListItem(i + "月", i.ToString()));
        }
        ddlMonth.SelectedValue = DateTime.Now.Month.ToString();
    }
    void BindDay()
    {
        for (int i = 1; i <= 31; i++)
        {

            ddlDay.Items.Add(new ListItem(i + "日", i.ToString()));
        }
        ddlDay.SelectedValue = DateTime.Now.Day.ToString();
    }

    //定位今天
    protected void lbltoday_Click(object sender, EventArgs e)
    {
        ddlYear.SelectedValue = DateTime.Now.Year.ToString();
        ddlMonth.SelectedValue = DateTime.Now.Month.ToString();
        ddlDay.SelectedValue = DateTime.Now.Day.ToString();
        BindData();
    }

    protected void ddlYear_SelectedIndexChanged(object sender, EventArgs e)
    {
        BindData();
    }
    protected void ddlMonth_SelectedIndexChanged(object sender, EventArgs e)
    {
        BindData();
    }
    protected void ddlDay_SelectedIndexChanged(object sender, EventArgs e)
    {
        BindData();
    }

    #endregion

    //梆定数据
    void BindData()
    {
        //单位
        string DepartmentId = "";
        if (Request["DepartmentId"] != null)
        {
            DepartmentId = Request["DepartmentId"];
        }
        else
        {
            DepartmentId = Yipusoft.Account.BLL.User.GetUser(User.Identity.Name).DepartmentID;
        }
        DepartmentId = DepartmentId.Substring(0, 4) + "000";
        //标题
        lblCaption.Text = Department.GetDepartment(DepartmentId).AliasName + "支队" + ddlYear.SelectedItem.Text + ddlMonth.SelectedItem.Text + ddlDay.SelectedItem.Text + "中队要事日记总体情况查看";
        //实力
        BindSL(DepartmentId);
        //执行任务情况
        BindZXQK(DepartmentId);
        //人员变动
        BindChanges(DepartmentId);
        //公差勤务
        Bindpublicwork(DepartmentId);
        //查铺查哨
        BindInspect(DepartmentId);
        //值班情况
        BindDuty(DepartmentId);
        //来队家属
        bindFamily(DepartmentId);
        //请假
        BindLeave(DepartmentId);
        //其它重要通知
        BindOther(DepartmentId);
        //未填中队
        BindNoFill(DepartmentId);
    }

    void BindNoFill(string departmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        DataTable dt = DiarySquadronStat.DiarySquadronGetDepartment(departmentId, Date);

        List<string> departmentIds = new List<string>();
        for (int i = 0; i < dt.Rows.Count; i++)
        {
            departmentIds.Add(dt.Rows[i]["DepartmentId"].ToString().Trim());
        }
        string where = " departmentId like '" + departmentId.Substring(0, 4) + "3%' ";
        List<DepartmentInfo> List = Department.GetList(where).Where(o => !departmentIds.Contains(o.DepartmentID.Trim())).ToList();
        string Departmentstr = "";
        for (int i = 0; i < List.Count; i++)
        {
            Departmentstr += List[i].ShortName + "&nbsp;&nbsp;&nbsp;&nbsp;";
        }
        lblDeparment.Text = Departmentstr;
    }

    protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
    {
        //BindData();
        SetDivNoDisplay();
        ParentDiv.FindControl(RadioButtonList1.SelectedValue).Visible = true;
    }
    //实力
    void BindSL(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvSL.DataSource = Yipusoft.SecurityEvaluate.DiarySquadronStat.DiarySquadronSLStat(DepartmentId, Date);
        gvSL.DataBind();
    }

    protected void gvSL_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;
        }
    }

    //执行任务情况
    void BindZXQK(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvZXQK.DataSource = Yipusoft.SecurityEvaluate.DiarySquadronStat.DiarySquadronZXRWStat(DepartmentId, Date);
        gvZXQK.DataBind();
    }

    protected void gvZXQK_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;

            Label lblZXQK = e.Row.FindControl("lblZXQK") as Label;
            string Partition = dv["Partition"].ToString();
            string Morn = dv["Morn"].ToString();
            string Forenoon = dv["Forenoon"].ToString();
            string Afternoon = dv["Afternoon"].ToString();
            string Night = dv["Night"].ToString();
            string MornDueCount = dv["MornDueCount"].ToString();
            string MornRealCount = dv["MornRealCount"].ToString();
            string ForenoonDueCount = dv["ForenoonDueCount"].ToString();
            string ForenoonRealCount = dv["ForenoonRealCount"].ToString();
            string AfternoonDueCount = dv["AfternoonDueCount"].ToString();
            string AfternoonRealCount = dv["AfternoonRealCount"].ToString();
            string NightDueCount = dv["NightDueCount"].ToString();
            string NightRealConnt = dv["NightRealConnt"].ToString();
            //区分
            lblZXQK.Text = "区分:" + Partition;
            //早晨
            lblZXQK.Text += "<BR/><BR/>早晨:" + Morn + "&nbsp;&nbsp;应到：" + MornDueCount + "&nbsp;&nbsp;实到：" + MornRealCount;
            //上午
            lblZXQK.Text += "<BR/><BR/>上午:" + Forenoon + "&nbsp;&nbsp;应到：" + ForenoonDueCount + "&nbsp;&nbsp;实到：" + ForenoonRealCount;
            //下午
            lblZXQK.Text += "<BR/><BR/>下午:" + Afternoon + "&nbsp;&nbsp;应到：" + AfternoonDueCount + "&nbsp;&nbsp;实到：" + AfternoonRealCount;
            //晚上
            lblZXQK.Text += "<BR/><BR/>晚上:" + Night + "&nbsp;&nbsp;应到：" + NightDueCount + "&nbsp;&nbsp;实到：" + NightRealConnt;
            //string publicwork = dv["publicwork"].ToString();
            //if (publicwork.Trim() != "")
            //{
            //    lblZXQK.Text = "公差：" + publicwork;
            //}
            //string publicwork2 = dv["publicwork2"].ToString();
            //if (publicwork2.Trim() != "")
            //{
            //    if (lblZXQK.Text != "")
            //    {
            //        lblZXQK.Text += " </br>";
            //    }
            //    lblZXQK.Text = "勤务：" + publicwork2;
            //}
        }
    }

    //人员变动
    void BindChanges(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvChanges.DataSource = DiarySquadronStat.DiarySquadronGetChangerDepartments(DepartmentId, Date);
        gvChanges.DataBind();
    }
    protected void gvChanges_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;


            //梆定数据
            Guid Id = new Guid(dv["Id"].ToString());
            DiaryDataContext dc = new DiaryDataContext();
            List<DiaryChanges> changes = dc.DiaryChanges.Where(o => o.DiaryID == Id).OrderBy(o => o.Flag).ToList();
            Label lblQK = e.Row.FindControl("lblQK") as Label;
            foreach (DiaryChanges change in changes)
            {
                lblQK.Text += "<br/>" + "&nbsp;&nbsp;" + change.Name + "&nbsp;&nbsp;" + change.Circs + "(" + change.DateChange.Value.ToShortDateString() + ")";
            }
        }
    }

    //公差勤务警容风纪
    void Bindpublicwork(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvPulickWork.DataSource = DiarySquadronStat.DiarySquadronGCQWStat(DepartmentId, Date);
        gvPulickWork.DataBind();
        gvEthos.DataSource = DiarySquadronStat.DiarySquadronGCQWStat(DepartmentId, Date);
        gvEthos.DataBind();
    }
    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;

            Label lblZXQK = e.Row.FindControl("lblZXQK") as Label;

            string publicwork = dv["publicwork"].ToString();
            if (publicwork.Trim() != "")
            {
                lblZXQK.Text = "公差：" + publicwork;
            }
            string publicwork2 = dv["publicwork2"].ToString();
            if (publicwork2.Trim() != "")
            {
                if (lblZXQK.Text != "")
                {
                    lblZXQK.Text += " </br></br>";
                }
                lblZXQK.Text = "勤务：" + publicwork2;
            }
        }
    }



    protected void gvEthos_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;

            Label lblZXQK = e.Row.FindControl("lblZXQK") as Label;


            if (dv["Ethos"] != null && dv["Ethos"].ToString() != "")
            {
                lblZXQK.Text = "警容风纪：" + dv["Ethos"].ToString();
            }
            else
            {
                lblZXQK.Text = "警容风纪：优";
            }

            if (dv["Ethos2"] != null && dv["Ethos2"].ToString() != "")
            {

                lblZXQK.Text += "<br/>内务卫生：" + dv["Ethos2"].ToString();
            }
            else
            {
                lblZXQK.Text += "<br/>内务卫生：优";
            }
        }
    }

    //查铺查哨
    void BindInspect(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvInspect.DataSource = DiarySquadronStat.DiarySquadronGetDepartment(DepartmentId, Date);
        gvInspect.DataBind();
    }
    protected void gvInspect_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;


            //梆定数据
            Guid Id = new Guid(dv["Id"].ToString());
            DiaryDataContext dc = new DiaryDataContext();
            List<DiaryInspect> Inspects = dc.DiaryInspect.Where(o => o.Did == Id).OrderBy(o => o.InspectTime).ToList();
            Label lblQK = e.Row.FindControl("lblQK") as Label;
            foreach (DiaryInspect inspect in Inspects)
            {
                if (lblQK.Text != "")
                {
                    lblQK.Text += "<br/>";
                }
                lblQK.Text += "&nbsp;" + inspect.Duty + "&nbsp;&nbsp;" + inspect.InspectMen + "&nbsp;" + inspect.InspectTime.Value.ToString("HH:mm") + "&nbsp;检查。" + "被检查人：" + inspect.Soldier + "&nbsp;&nbsp;检查情况：" + inspect.Circs;
            }
        }
    }

    void BindDuty(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvDuty.DataSource = DiarySquadronStat.DiarySquadronGetDutyStat(DepartmentId, Date);
        gvDuty.DataBind();

    }

    protected void gvDuty_RowDataBound(object sender, GridViewRowEventArgs e)
    {

        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;
        }
    }

    void bindFamily(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvFamily.DataSource = DiarySquadronStat.DiaryGetFamilydepartment(DepartmentId, Date);
        gvFamily.DataBind();
    }


    protected void gvFamily_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;

            DataList dl = e.Row.FindControl("DL") as DataList;

            DiaryDataContext dc = new DiaryDataContext();
            List<DiaryFamily> familys = dc.DiaryFamily.Where(o => o.Did == new Guid(dv["id"].ToString())).ToList();
            dl.DataSource = familys;
            dl.DataBind();

            Label SickCircs = e.Row.FindControl("SickCircs") as Label;
            if (familys.Count > 0)
            {
                SickCircs.Text = familys[0].SickCircs;
            }
        }
    }

    void BindLeave(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvLeave.DataSource = DiarySquadronStat.DiaryGetLeavedepartment(DepartmentId, Date);
        gvLeave.DataBind();

    }
    protected void gvLeave_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;

            DataList dl = e.Row.FindControl("DL") as DataList;

            DiaryDataContext dc = new DiaryDataContext();
            List<DiaryLeave> leaves = dc.DiaryLeave.Where(o => o.Did == new Guid(dv["id"].ToString())).ToList();
            dl.DataSource = leaves;
            dl.DataBind();

        }
    }

    void BindOther(string DepartmentId)
    {
        DateTime Date = new DateTime(Convert.ToInt32(ddlYear.SelectedValue), Convert.ToInt32(ddlMonth.SelectedValue), Convert.ToInt32(ddlDay.SelectedValue));
        gvOther.DataSource = DiarySquadronStat.DiaryGetOtherStat(DepartmentId, Date);
        gvOther.DataBind();
    }

    protected void gvOther_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            Label ID = (Label)e.Row.FindControl("ID");
            ID.Text = Convert.ToString((e.Row.RowIndex + 1));
            //当鼠标放上去的时候 先保存当前行的背景颜色 并给附一颜色 
            e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#F5F5F5',this.style.fontWeight='';");
            //当鼠标离开的时候 将背景颜色还原的以前的颜色 
            e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
            DataRowView dv = e.Row.DataItem as DataRowView;
            Label lblDepartment = e.Row.FindControl("lblDepartment") as Label;
            lblDepartment.Text = Department.GetDepartment(dv["DepartmentId"].ToString()).ShortName;


        }
    }

    void SetDivNoDisplay()
    {
        实力.Visible = false; 执行执务.Visible = false;
        人员装备变动.Visible = false;
        公差勤务.Visible = false;
        警容风纪卫生检查.Visible = false;
        查铺查哨.Visible = false;
        值班情况.Visible = false;
        临时来队亲属.Visible = false;
        请假外出休假.Visible = false;
        上级通知及其它重要事项.Visible = false;
    }
}
